package com.blood.modules.system.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author yelong
 * @version 1.0
 * @date 2020/8/12 15:46
 * @description
 */
@Data
@ApiModel(value = "用户登录入参", description = "用户登录入参")
public class SysUserLoginReq {

    @ApiModelProperty(value = "登录名", required = true)
    @NotNull(message = "登录名不能为空")
    private String loginName;

    @ApiModelProperty(value = "密码", required = true)
    @NotNull(message = "登录密码")
    private String password;

}
